//**        (C)Copyright 1985-2010, American Megatrends, Inc.         **

//**********************************************************************
// $Header: /Alaska/Tools/template.c 6     1/13/10 2:13p Felixp $
//
// $Revision: 6 $
//
// $Date: 1/13/10 2:13p $
//**********************************************************************
// Revision History
// ----------------
// $Log: /Alaska/Tools/template.c $
// 
// 6     1/13/10 2:13p Felixp
// 
//**********************************************************************
//<AMI_FHDR_START>
//
// Name:  <This File's Name>
//
// Description:	
//
//<AMI_FHDR_END>
//**********************************************************************

#include <AmiDxeLib.h>
#include <OemDxeLib\OemDxeLib.h>
//WRITE TO CMOS BY 0x70,0x71
EFI_STATUS CmosDxeRead(UINT8 Address)
{
    UINT8 Data;

    IoWrite8(0x70,Address);
    Data = IoRead8(0x71);

    return Data;
}
//READ TO CMOS BU 0x70,0x71
EFI_STATUS CmosDxeWrite(UINT8 Address,UINT8 Data)
{
    IoWrite8(0x70,Address);
    IoWrite8(0x71,Data);

    return EFI_SUCCESS;
};

//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2010, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093        **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************
